package com.pojo;

import javax.xml.crypto.Data;
import java.io.Serializable;

public class invoice implements Serializable {

        private int id;
        private int orderId;
        private String companyName;
        private int invoiceNo;
        private String invoiceType;
        private Double invoiceAmout;
        private String ygname;
        private Data billingDate;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getOrderId() {
        return orderId;
    }

    public void setOrderId(int orderId) {
        this.orderId = orderId;
    }

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }

    public int getInvoiceNo() {
        return invoiceNo;
    }

    public void setInvoiceNo(int invoiceNo) {
        this.invoiceNo = invoiceNo;
    }

    public String getInvoiceType() {
        return invoiceType;
    }

    public void setInvoiceType(String invoiceType) {
        this.invoiceType = invoiceType;
    }

    public Double getInvoiceAmout() {
        return invoiceAmout;
    }

    public void setInvoiceAmout(Double invoiceAmout) {
        this.invoiceAmout = invoiceAmout;
    }

    public String getYgname() {
        return ygname;
    }

    public void setYgname(String ygname) {
        this.ygname = ygname;
    }

    public Data getBillingDate() {
        return billingDate;
    }

    public void setBillingDate(Data billingDate) {
        this.billingDate = billingDate;
    }

    @Override
    public String toString() {
        return "invoice{" +
                "id=" + id +
                ", orderId=" + orderId +
                ", companyName='" + companyName + '\'' +
                ", invoiceNo=" + invoiceNo +
                ", invoiceType='" + invoiceType + '\'' +
                ", invoiceAmout=" + invoiceAmout +
                ", ygname='" + ygname + '\'' +
                ", billingDate=" + billingDate +
                '}';
    }
}
